﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Product
{
    public class ProductSpecification
    {
        #region "member variant"
        private int _id;
		private int _productid;
		private string _productcode;
		private decimal _integraltobuy;
		private int _productstock;
		private decimal _saleprice;
		private string _memberprice;
		private string _specifications;
        #endregion

        #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public ProductSpecification()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列Id相对应的公共属性, Caption:Id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
        /// 与数据库基本列ProductId相对应的公共属性, Caption:商品ID
		/// </summary>
		public int ProductId
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
        /// 与数据库基本列ProductCode相对应的公共属性, Caption:商品货号
		/// </summary>
		public string ProductCode
		{
			set{ _productcode=value;}
			get{return _productcode;}
		}
		/// <summary>
        /// 与数据库基本列IntegralToBuy相对应的公共属性, Caption:积分购买额度
		/// </summary>
		public decimal IntegralToBuy
		{
			set{ _integraltobuy=value;}
			get{return _integraltobuy;}
		}
		/// <summary>
        /// 与数据库基本列ProductStock相对应的公共属性, Caption:积分购买额度
		/// </summary>
		public int ProductStock
		{
			set{ _productstock=value;}
			get{return _productstock;}
		}
		/// <summary>
        /// 与数据库基本列SalePrice相对应的公共属性, Caption:销售价
		/// </summary>
		public decimal SalePrice
		{
			set{ _saleprice=value;}
			get{return _saleprice;}
		}
		/// <summary>
        /// 与数据库基本列MemberPrice相对应的公共属性, Caption:会员价
		/// </summary>
		public string MemberPrice
		{
			set{ _memberprice=value;}
			get{return _memberprice;}
		}
		/// <summary>
        /// 与数据库基本列Specifications相对应的公共属性, Caption:规格值
		/// </summary>
		public string Specifications
		{
			set{ _specifications=value;}
			get{return _specifications;}
        }
        #endregion Property
    }
}
